﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EquipmentModule.ViewModel
{
    public class SectionViewModel
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public int Level { get; set; }
        public double?[] Position { get; set; } = new double?[2];
        public string MarkIcon { get; set; }
        public List<SectionViewModel> Children { get; set; }
    }

    public class SectionViewModel4Add
    {
        public Guid ParentId { get; set; }
        public string SectionName { get; set; }
        public double?[] SectionPosition { get; set; } = new double?[2];
    }

    public class SectionViewModel4Item
    {
        public string SectionName { get; set; }
        public double?[] SectionPosition { get; set; } = new double?[2];
        public Guid Id { get; set; }
    }
}
